import { getEntryManuList } from '@/api/provideEnd/entryManyscript'
import { getDailyQuota } from '@/api/provideEnd'

export default {
  methods: {
    async getEntryManuList(params) {
      this.tableLoading = true
      const res = await getEntryManuList(params)
      const data = res.data.data || {}
      this.tableData = Object.freeze(data.data || [])
      this.pagination.total = data.count || 0
      this.tableLoading = false
    },

    async getDailyQuota() {
      const res = await getDailyQuota()
      // console.log('getDailyQuota', res)
      const data = res.data.data || {}
      this.manuQuota = data
    }
  }
}